#define  _CRT_SECURE_NO_WARNINGS
#include "DList.h"

void Test1()
{
	ListNode* Plist = ListCreate();
	ListPushBack(Plist, 1);
	ListPushBack(Plist, 2);
	ListPushBack(Plist, 3);
	ListPushBack(Plist, 4);
	ListPrint(Plist);
	ListErase(ListFind(Plist,4));
	ListPrint(Plist);

	ListDestroy(Plist);
}

int main()
{
	Test1();
	return 0;
}